package com.xnyzc.lhy.mis.mapper.punishment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xnyzc.lhy.mis.entity.punishment.OaDUserPunishment;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 司机处罚内容表 Mapper 接口
 * </p>
 *
 * @author cuixiaojian
 * @since 2019-10-27
 */
public interface OaDUserPunishmentMapper extends BaseMapper<OaDUserPunishment> {

    void insertOaDUserPunishmentList(@Param("oaDUserPunishmentList") List<OaDUserPunishment> oaDUserPunishmentList);


    List<OaDUserPunishment> getPunishmentList(@Param("startDate") Date startDate, @Param("endDate")Date endDate);
}
